package com.example.circle.front.content.service.impl;

import com.example.circle.front.content.dao.persist.repository.ContentRepository;
import com.example.circle.front.content.pojo.vo.ListContentVO;
import com.example.circle.front.content.service.ContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ContentServiceImpl implements ContentService {
    @Autowired
    ContentRepository repository;

    @Override
    public List<ListContentVO> liseContent() {
        return repository.liseContent();
    }
}
